<?php 
get_header();

?>
<section class="container">
	<ul id="breadcrumbs-one">
		<li><a href="<?php echo site_url();?>">Início</a></li>
		<li>
		<?php 
		$cat_Id = get_the_category($post->ID);
		$categories = get_category_parents( $cat_Id[0], TRUE, '</li><li>' );
		echo $categories;
		?>
		<li><a href="" class="current"><?php the_title();?></a></li>
	</ul>
	
	<?php 
	while ( have_posts() ){
		the_post(); 
	?>
	<article <?php post_class('left') ?>>
		<header class="top_single margin_b_10">				
			<?php 
			if(has_post_thumbnail()){
				the_post_thumbnail('destaque_post');
			}
			?>
		</header>
		<div class="single_content left overflow">
			<?php 
						
				the_content();
			
			?>
			<div class="clear"></div>								
		</div>
		<footer class="left clear">
			<?php 
			$tags = get_the_tags();
			if($tags){
			?>
			<h2>Tags</h2>
			<div class="overflow margin_b_20">
			<?php 
			foreach ( $tags as $tag ) {
				$tag_link = get_tag_link( $tag->term_id );
					
				echo '<a href="'.$tag_link.'" title="'.$tag->name.' Tag" class="single_tag left">'.$tag->name.'</a>';					
			}
			
			?>
			</div>
			<?php 
			}
			//get_share_single();
			comments_template();
			?>
		</footer>					
	</article>
	<?php 
	}
	 get_sidebar(); ?>
</section>
<?php get_footer(); ?>